package com.xxwy.trie.practice.main;

import com.xxwy.trie.Trie;

/**
 * @author xxwy
 */
public class Main {

    public static void main(String[] args) {
        Trie trie = new Trie();
        trie.add("hello");
        trie.add("hello");
        trie.add("ni");
        trie.add("hao");
        System.out.println(trie.getSize());
        System.out.println(trie.contains("hao"));
        System.out.println(trie.contains("ha"));
    }
}
